<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<META name="keywords" content="$!config.keywords" />
<META name="description" content="$!config.description" />
<title>论坛首页</title>
<link rel="stylesheet" href="skin/gold/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="skin/gold/css/style.css" type="text/css" media="screen" />
<script type="text/javascript" src="res/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="res/js/common.js"></script>
<script type="text/javascript" src="skin/gold/js/html5.js"></script>
<script type="text/javascript" src="skin/gold/js/ikeke.js"></script>
<!--[if lte IE 6]>
<script type="text/javascript" src="skin/gold/js/DD_belatedPNG.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('a,a:hover,div,span,img,li');
</script>
<![endif]-->
</head>
<body>
<div id="container">
	<div id="asideback"></div>
	<div id="asideswitch"><div class="button"></div></div>
	#parse('/inc/left.htm')
	
	<div id="rightbody"><!-- 主体部分 -->
		<section id="wrapper">
			#parse('/inc/head.htm')
			#parse('/inc/login_panel.htm')
			<table class="index2-h h yh">
				<tr>
					<th width="50%"><img src="skin/gold/images/public/th_before.png" alt="" />最新话题</th>
					<th width="50%"><img src="skin/gold/images/public/th_before.png" alt="" />热门话题</th>
				</tr>
			</table>
			<table class="index2">
				<tr>
					<td width="50%">
						<ul>
							#foreach( $info in $newList1)
							<li><a href="/bbs/bbsdoc.do?parameter=list&&sn=$!info.dirsn" class="forum">[$!info.dirtitle]</a><a href="$!info.url" class="title">$!info.title</a> - $!info.inputuser</li>
							#end
						</ul>
					</td>
					<td width="50%">
						<ul>
							#foreach( $info in $hotList1)
							<li><a href="/bbs/bbsdoc.do?parameter=list&&sn=$!info.dirsn" class="forum">[$!info.dirtitle]</a><a href="$!info.url" class="title">$!info.title</a> - $!info.inputuser</li>
							#end
						</ul>
					</td>
				</tr>
			</table>
			#foreach($dir in $dirList)
			<table class="index3-h h yh">
				<tr>
					<th width="50%"><img src="skin/gold/images/public/activity_th_before.jpg" alt="" /><a href="/bbs/bbsdoc.do?parameter=list&sn=$!dir.sn"><font color=white>$!dir.title</font></a></th>
					<th style="text-align: right;" width="50%">版主：<a href="/bbs/bbsuser.do?parameter=show&&user=$!HtmlUtil.encodeUrl($!dir.manager)"><font color=white>$!dir.manager</font></a></th>
				</tr>
			</table>
			<table class="index3">
				#set($i=0)
				#foreach($dir1 in $dir.getChilds())
				<tr#if($i%2==1) class="even"#end>
					<td width="20%" class="area"><a href="/bbs/bbsdoc.do?parameter=list&sn=$!dir1.sn">$dir1.title</a></td>
					<td width="30%">最新主题：#if($dir1.lastdoc)<a href="/bbs$dir1.lastdoc.getHref()">$dir1.lastdoc.title</a>#end</td>
					<td width="15%">作者：
					#if($dir1.lastdoc)
					$dir1.lastdoc.inputuser
					#end
					</td>
					<td width="15%">日期：
					#if($dir1.lastdoc)
					$dir1.lastdoc.inputtime
					#end
					</td>
					<td width="20%" class="last">Today<span class="red">$dir1.todaynum</span>Topic<span>$dir1.messagenum</span>Post<span>$dir1.replynum</span></td>
				</tr>
				#set($i=$i+1)
				#end
				#if($i==0)
				<tr class="even">
					<td width="20%" class="area"><a href="/bbs/bbsdoc.do?parameter=list&sn=$!dir.sn">$dir.title</a></td>
					<td width="30%">最新主题：#if($dir.lastdoc)<a href="/bbs$dir.lastdoc.getHref()">$dir.lastdoc.title</a>#end</td>
					<td width="15%">作者：
					#if($dir.lastdoc)
					$dir.lastdoc.inputuser
					#end
					</td>
					<td width="15%">日期：
					#if($dir.lastdoc)
					$dir.lastdoc.inputtime
					#end
					</td>
					<td width="20%" class="last">Today<span class="red">$dir.todaynum</span>Topic<span>$dir.messagenum</span>Post<span>$dir.replynum</span></td>
				</tr>
				#end
			</table>
			#end
		</section>
	</div>
	#parse('/inc/foot.htm')
</div>
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end